Add the same warning that the blink_cb() in GtkEntry already has.
authorMatthias Clasen <maclas@gmx.de>
Mon, 2 Aug 2004 04:22:37 +0000 (04:22 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 2 Aug 2004 04:22:37 +0000 (04:22 +0000)
Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (blink_cb): Add the same warning
that the blink_cb() in GtkEntry already has.  (#148733)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c

index 2b211eda9446b6c55eb8dd98ff50b592fecac852..6b319cad12933868661c8793f564f4bddbe47ef0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c (blink_cb): Add the same warning
+       that the blink_cb() in GtkEntry already has.  (#148733)
+
 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkentry.c (gtk_entry_class_init):
index 2b211eda9446b6c55eb8dd98ff50b592fecac852..6b319cad12933868661c8793f564f4bddbe47ef0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c (blink_cb): Add the same warning
+       that the blink_cb() in GtkEntry already has.  (#148733)
+
 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkentry.c (gtk_entry_class_init):
index 2b211eda9446b6c55eb8dd98ff50b592fecac852..6b319cad12933868661c8793f564f4bddbe47ef0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c (blink_cb): Add the same warning
+       that the blink_cb() in GtkEntry already has.  (#148733)
+
 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkentry.c (gtk_entry_class_init):
index 2b211eda9446b6c55eb8dd98ff50b592fecac852..6b319cad12933868661c8793f564f4bddbe47ef0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c (blink_cb): Add the same warning
+       that the blink_cb() in GtkEntry already has.  (#148733)
+
 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkentry.c (gtk_entry_class_init):
index f3a7e344c97a20224ec9189eb3efac85eb861787..4728c332598bfdd6b6a35e92c89433f58ddc9b31 100644 (file)
@@ -4427,6 +4427,13 @@ blink_cb (gpointer data)
 
   text_view = GTK_TEXT_VIEW (data);
   
+  if (!GTK_WIDGET_HAS_FOCUS (text_view))
+    {
+      g_warning ("GtkTextView - did not receive focus-out-event. If you\n"
+                 "connect a handler to this signal, it must return\n"
+                 "FALSE so the entry gets the event as well");
+    }
+
   g_assert (text_view->layout);
   g_assert (GTK_WIDGET_HAS_FOCUS (text_view));
   g_assert (text_view->cursor_visible);